from Crypto.Cipher import AES
from binascii import b2a_hex, a2b_hex

from support import *

if __name__ == '__main__':
    readtext = open('./read.txt')
    MyWord = readtext.read()
    print(MyWord)
    readtext.close()

    readMyword = open('./解密原字符串.txt')
    e = readMyword.read()
    readMyword.close()
    
    d = decrypt(e)  # 解密
    print("解密:", d)
    
    f = open('./return.txt','w')
    txt = str(d)
    f.write(txt)
    f.close()